home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set the moveableSprite of sprite the clickOn to 1
- sound stop 1
- puppetSound(member (the memberNum of sprite the clickOn + 200))
- repeat while soundBusy(1)
- nothing()
- end repeat
- updateStage()
- end
-
- on mouseUp
- if sprite the clickOn intersects sprite(the clickOn - 15) then
- set the visible of sprite the clickOn to 0
- set the puppet of sprite (the clickOn - 15) to 1
- set the memberNum of sprite (the clickOn - 15) to the memberNum of sprite (the clickOn - 15) + 20
- puppetSound("RIGHT")
- repeat while soundBusy(1)
- nothing()
- end repeat
- updateStage()
- else
- puppetSound("Incorrect")
- updateStage()
- set the moveableSprite of sprite the clickOn to 0
- end if
- updateStage()
- set the moveableSprite of sprite the clickOn to 1
- end
-